package com.ql.dao.sheBeiGuanLi;

import com.ql.pojo.sheBeiGuanLi.WeiXiu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface wxMapper {
    //查询所有维修信息
    List<WeiXiu> qryAll(@Param("start")int start,
                        @Param("end")int end,
                        @Param("mohuName")String mohuName
                        )throws Exception;
    //获取总条数
    int qryCount(@Param("mohuName")String mohuName)throws Exception;
    //单个删除
    int del(@Param("wId")int wId) throws Exception;
    //批量删除
    int delBatch(List<Integer> list)throws Exception;
    //根据维修id查看详情
    WeiXiu qryById(@Param("wId")String wId)throws Exception;
    //新增维修信息
    int save(WeiXiu weiXiu)throws Exception;
    //修改信息
    int modify(WeiXiu weiXiu)throws Exception;
}
